package com.boyunv.observer.example03;
/*
 *@description
 *MQ 消息发送事件
 *@author boyunv
 *@create 2023/8/12 15:47
 *@version 1.0
 */

import com.boyunv.observer.example02.LotteryResult;

public class MQEventListener implements EventListener{
 @Override
 public void doEvent(LotteryResult lotteryResult) {
  System.out.println("记录用户的摇号结果(MQ),用户ID::"+lotteryResult.getUId()+",摇号结果:"+lotteryResult.getMsg());
 }
}
